package com.ruoyi.cderp.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存盘点任务对象 tbl_take_stock_plan
 * 
 * @author ruoyi
 * @date 2025-05-09
 */
public class TblTakeStockPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 业务单据号 */
    @Excel(name = "业务单据号")
    private String code;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private String scId;

    /** 盘点类别 */
    @Excel(name = "盘点类别")
    private Long takeType;

    /** 业务ID */
    private String bizId;

    /** 盘点状态 */
    @Excel(name = "盘点状态")
    private Long takeStatus;

    /** 备注 */
    @Excel(name = "备注")
    private String description;

    /** 创建人ID */
    private String createById;

    /** 修改人ID */
    private String updateById;

    /** 库存盘点任务明细信息 */
    private List<TblTakeStockPlanDetail> tblTakeStockPlanDetailList;

    private Center center;


    public Center getCenter() {
        return center;
    }

    public void setCenter(Center center) {
        this.center = center;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setScId(String scId) 
    {
        this.scId = scId;
    }

    public String getScId() 
    {
        return scId;
    }
    public void setTakeType(Long takeType) 
    {
        this.takeType = takeType;
    }

    public Long getTakeType() 
    {
        return takeType;
    }
    public void setBizId(String bizId) 
    {
        this.bizId = bizId;
    }

    public String getBizId() 
    {
        return bizId;
    }
    public void setTakeStatus(Long takeStatus) 
    {
        this.takeStatus = takeStatus;
    }

    public Long getTakeStatus() 
    {
        return takeStatus;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCreateById(String createById) 
    {
        this.createById = createById;
    }

    public String getCreateById() 
    {
        return createById;
    }
    public void setUpdateById(String updateById) 
    {
        this.updateById = updateById;
    }

    public String getUpdateById() 
    {
        return updateById;
    }

    public List<TblTakeStockPlanDetail> getTblTakeStockPlanDetailList()
    {
        return tblTakeStockPlanDetailList;
    }

    public void setTblTakeStockPlanDetailList(List<TblTakeStockPlanDetail> tblTakeStockPlanDetailList)
    {
        this.tblTakeStockPlanDetailList = tblTakeStockPlanDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("scId", getScId())
            .append("takeType", getTakeType())
            .append("bizId", getBizId())
            .append("takeStatus", getTakeStatus())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createById", getCreateById())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateById", getUpdateById())
            .append("updateTime", getUpdateTime())
            .append("tblTakeStockPlanDetailList", getTblTakeStockPlanDetailList())
            .toString();
    }
}
